package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SequenceGeneratorMaxvalueOption implements BasicSequenceGeneratorOption {

    private int beginIndex;
    private int endIndex;
    private boolean no;
    private SignedNumericLiteral sequenceGeneratorMaxValue;

    public SequenceGeneratorMaxvalueOption(int beginIndex,
                                           int endIndex,
                                           boolean no,
                                           SignedNumericLiteral sequenceGeneratorMaxValue) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.no = no;
        this.sequenceGeneratorMaxValue = sequenceGeneratorMaxValue;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNo() {
        return no;
    }

    public SignedNumericLiteral getSequenceGeneratorMaxValue() {
        return sequenceGeneratorMaxValue;
    }

}
